{include file="header.html"}

<div class="page-header">
	<h6>
		系统设置
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			美容师收入结算
		</small>
	</h6>
</div><!-- /.page-header -->
<div class="row">
<div class="col-xs-12">
	<form class="form-horizontal" role="form" method="post" action="?app=setting&act=beautician_jiesuan_edit" enctype="multipart/form-data">
		<input type="hidden" id="id" name="id" value="{$row->id}" />
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="name"> 订单号 </label>
			<div class="col-sm-2">
				<input type="text" value="{$row->order_sn}" class="form-control" readonly="" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="name"> 美容师 </label>
			<div class="col-sm-2">
				<input type="text" value="{$row->name}" class="form-control" readonly="" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="name"> 订单日期 </label>
			<div class="col-sm-4">
				<input type="text" value="{$row->add_time|date_format:"%Y-%m-%d %H:%I:%S"}" class="form-control" readonly="" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="name"> 结算状态 </label>
			<div class="col-sm-10">
				{if $row->status==1}
				<font color="green">已结算</font>
				{else}
				<font color="red">未结算</font>
				{/if}
			</div>
		</div>
		{if $row->status==0}
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="description"> 结算备注 </label>
				<div class="col-sm-10">
					<textarea class="form-control" id="memo" name="memo" rows="5"></textarea>
				</div>
			</div>
			<div class="clearfix form-actions">
				<div class="col-md-offset-3 col-md-9">
					<button class="btn btn-info" type="submit">
						<i class="ace-icon fa fa-check bigger-110"></i>
						提交
					</button>

					&nbsp; &nbsp; &nbsp;
					<button class="btn" type="reset">
						<i class="ace-icon fa fa-undo bigger-110"></i>
						重置
					</button>
				</div>
			</div>
		{else}
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="name"> 结算时间 </label>
				<div class="col-sm-10">
					{$row->add_time|date_format:"%Y-%m-%d %H:%I:%S"}
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="name"> 结算备注 </label>
				<div class="col-sm-10">
					{$row->memo}
				</div>
			</div>
			<div class="clearfix form-actions">
				<div class="col-md-offset-3 col-md-9">
					&nbsp; &nbsp; &nbsp;
					<button class="btn" type="buton" onclick="javascript:history.go(-1);">
						<i class="ace-icon fa fa-undo bigger-110"></i>
						返回
					</button>
				</div>
			</div>
		{/if}
	</form>
</div>
</div>

{include file="footer.html"}